package com.it.sun.learning001.listener;

import com.it.sun.learning001.base.EventObjectS;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * @ClassName com.it.sun.learning001.listener.ApplicationListenerImpl
 * @Author sunmannian
 * @Date 2021/6/22 16:32
 * @Version V1.0
 * Description  <请输入一句话描述该类功能>
 * Copyright (C) 北京中电兴发科技有限公司  since 2021/6/22
 */
@Component
public class ApplicationListenerImpl implements ApplicationListener<EventObjectS> {


	public ApplicationListenerImpl() {
		System.err.println("11");
	}

	@Override
	public void onApplicationEvent(EventObjectS event) {
		System.err.println(event);
	}
}



